#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@Project : bigDataProject 
@File    : baseResponseDto.py
@IDE     : PyCharm 
@Author  : Mario
@Date    : 2022/11/14 15:47 
@Describe: 接口响应数据模型基类
"""
from typing import Text, Union, List
from pydantic import BaseModel


class BaseResponseDto(BaseModel):
    code: Text = "200"
    message: Union[Text, None] = "请求成功!"
    data: Union[Text, List, None]
